package chenqianghao.rbac.domain.entity;

/**
 * 实体类-角色
 *
 * @author 陈蔷好
 * @since 2025/3/12 12:21
 */
public class Role {

    /**
     * 角色名称
     */
    public String name;

    /**
     * 数据访问范围，只能是[个人，部门，全局]
     */
    public String dateScope;
    public int id;
    public String dataScope;


    public Role() {
    }

    public Role(String name, String dateScope) {
        this.name = name;
        this.dateScope = dateScope;
    }
}
